package tech.realcpf.flink.catalog.store;

import org.apache.flink.configuration.ConfigOption;
import org.apache.flink.configuration.ConfigOptions;

public class JcCatalogStoreFactoryOptions {
    public static final String IDENTIFIER = "etcd";
    public static final ConfigOption<String> END_POINTS =
            ConfigOptions.key("endpoints")
                    .stringType()
                    .noDefaultValue()
                    .withDescription(
                            "The configuration option for specifying the entPoints of etcd server.");
    public static final ConfigOption<String> PREFIX =
            ConfigOptions.key("prefix")
                    .stringType()
                    .noDefaultValue()
                    .withDescription(
                            "The configuration option for specifying the key prefix store in etcd.");

    public static final ConfigOption<String> USER =
            ConfigOptions.key("user")
                    .stringType()
                    .noDefaultValue()
                    .withDescription(
                            "The configuration option for specifying the user of etcd read and write `prefix`.");

    public static final ConfigOption<String> PASSWD =
            ConfigOptions.key("passwd")
                    .stringType()
                    .noDefaultValue()
                    .withDescription(
                            "The configuration option for specifying the password of user.");

}
